<?php
namespace app\admin\validate;
use think\Validate;

class CateValidate extends Validate {
    protected $rule =   [
        'catname'  => 'require',
    ];

    protected $message  =   [
        'catname.require' => '栏目名不能为空',
    ];

}
